﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DeHeng_Mes.Model.ConfigModel
{
    public class ProcessConfig
    {
        public Action<DateTime, string, string, string, int, int> ProcessFunc { get; set; }  // 采集方法DateTime date, string code = "", string line = "", int dataPointer = 0, int BatchSize = 0
        public int BatchSize { get; set; } // 每次插入的行数
        public int InsertCount { get; set; } // 插入的次数
        //是否为点焊同个机器的第一道
        public bool IsFirst { get; set; }//索引
        //是否为产线的最后一道工序
        public bool IsLast { get; set; }
        //工艺是否有重复
        public bool IsUnique { get; set; }
    }

}
